package com.yuju.vo.user;

import com.yuju.common.BaseVO;
import com.yuju.common.fileld.validator.Rule.NonNull;

public class UserVo extends BaseVO {
	private static final long serialVersionUID = 1L;
	private String id;
	@NonNull(message = "用户账户不能为空", serviceLine = "login,register,validate,del")
	private String userCode;
	
	private String userName;
	
	@NonNull(message = "用户账户不能为空", serviceLine = "pwd_login,register,validate")
	private String password;
	
	private String email;
	
	@NonNull(message = "用户账户不能为空", serviceLine = "verify_code_login,register,validate")
	private String mobile;
	
	private String gender;
	
	@NonNull(message = "当前页数不能为空", serviceLine = "pager")
	private Integer page;
	@NonNull(message = "每页显示条目数不能为空", serviceLine = "pager")
	private Integer rows;
	
	public String getUserCode() {
		return userCode;
	}
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getRows() {
		return rows;
	}
	public void setRows(Integer rows) {
		this.rows = rows;
	}
	
}
